/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

/**
 *
 * @author CUNEYT
 */
public class Skill {

    private String title;
    private int level;

    public Skill() {
    }

    public Skill(String tit, int lvl) {
        title = tit;
        level = lvl;
    }

    public void incrementLevel() {
        level += 1;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return getTitle() + " " + getLevel();
    }
}
